<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <title>汽车音响联盟后台管理系统 - 登录</title>
    <meta name="keywords" content="汽车音响联盟后台管理系统">
    <meta name="description" content="汽车音响联盟后台管理系统">
    <link rel="shortcut icon" href="../../public-tools/common/favicon.ico">
    <link href="../../public-tools/pc/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../public-tools/pc/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="../../public-tools/pc/css/animate.min.css" rel="stylesheet">
    <link href="../../public-tools/pc/css/style.min.css?v=4.1.0" rel="stylesheet">
    <link href="../../public-tools/pc/css/login.min.css" rel="stylesheet">
    <style>[v-cloak] { display: none;}</style>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>
        if(window.top!==window.self){window.top.location=window.location};
    </script>

</head>

<body class="signin">
    <div class="signinpanel" id="app" v-cloak>
        <div class="row">
            <div class="col-sm-7">
                <div class="signin-info">
                    <div class="logopanel m-b">
                        <h1>[ 汽车音响联盟后台管理系统 ]</h1>
                    </div>
                    <div class="m-b"></div>
                    <h4>欢迎使用 <strong>汽车音响联盟后台管理系统</strong></h4>
                   <!-- <ul class="m-b">
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势一</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势二</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势三</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势四</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势五</li>
                    </ul>-->
<!--                    <strong>还没有账号？ <a href="../../public-tools/pc/html/focus-miniapp.html">立即注册&raquo;</a></strong>-->
                </div>
            </div>
            <div class="col-sm-5">
                <form>
                    <!--<h2 class="no-margins">登录到平台后台管理系统</h2>-->
                    <!--<p class="m-t-md">登录到平台后台管理系统</p>-->
                    <input type="text" class="form-control uname" placeholder="用户名" ref="uname" @keyup.13="doLogin()" />
                    <input type="password" class="form-control pword m-b" placeholder="密码" ref="pword" @keyup.13="doLogin()" />
<!--                    <a href="#">忘记密码了？</a>-->
                    <button type="button" class="btn btn-success btn-block" @click="doLogin()" style="margin-bottom: 20px">登录</button>
                    <div style="float: right;" >
                        <strong>还没有账号？ <a href="../../public-tools/pc/html/focus-miniapp.html">立即注册&raquo;</a></strong>
                    </div>
                </form>
            </div>
        </div>
        <div class="signup-footer">
            <div class="pull-left">
                &copy; 2019 All Rights Reserved. 润贤科技
            </div>
        </div>
    </div>
    <script src="../../public-tools/pc/js/jquery.min.js?v=2.1.4"></script>
    <script src="../../public-tools/pc/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="../../public-tools/pc/js/plugins/layer/layer.min.js"></script>
    <script src="../../public-tools/pc/js/vue/vue.js"></script>
    <script src="../../public-tools/pc/js/vue/vue-resource.js"></script>
    <script src="../../public-tools/common/js/common.js"></script>
    <script src="js/utils/http.js"></script>
    <script src="js/utils/api.js"></script>
    <script>
        // 得到注册二维码地址
        $.ajax({
            url: _HOST+_API.common_dic_dicList+"?keyTable=miniappRegisterPage",
            method:"GET",
            success: function(res){
                console.log(res.list);
                if (res!=null&&res.list.length>0) {
                    var page = res.list[0].keyValue;
                    var appId = res.list[0].keyS;
                    var url = _HOST+_API.wechat_wechat_getQrCode+"/"+appId+"?page="+page;
                    console.log(url);
                    // 存入session
                    sessionStorageUtils.setJsonStr(storageKey.sessionStorageKey.registerPage.codeUrl,url);
                }
            }});
    </script>
    <script src="js/login.js"></script>
</body>
</html>
